-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Rust: Path resolution before variable resolution #20716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
40672af to
66ba81a
Compare
66ba81a to
f41c74b
Compare
f41c74b to
fa48969
Compare
| ) { | ||
| name = cand.getName() and | ||
| scope = [cand.(VariableScope), getEnclosingScope(cand)] and | ||
| ( |
Check warning
Code scanning / CodeQL
Redundant cast Warning
VariableScope
| ) | ||
| } | ||
|
|
||
| private predicate testvariableAccessCandInScope( |
Check warning
Code scanning / CodeQL
Dead code Warning
| ) | ||
| } | ||
|
|
||
| private predicate testvariableReachesCand( |
Check warning
Code scanning / CodeQL
Dead code Warning
| ) | ||
| } | ||
|
|
||
| private predicate testaccess(string name, NestedFunctionOrVariable v, VariableAccessCand cand) { |
Check warning
Code scanning / CodeQL
Dead code Warning
| } | ||
| } | ||
|
|
||
| private ItemNode testgetAChildSuccessor(ItemNode item, string name, SuccessorKind kind) { |
Check warning
Code scanning / CodeQL
Dead code Warning
| // ) | ||
| } | ||
|
|
||
| private ItemNode testresolveUseTreeListItem(Use use, UseTree tree) { |
Check warning
Code scanning / CodeQL
Dead code Warning
| ) | ||
| } | ||
|
|
||
| private predicate testussdfeImportEdge(Use use, string name, ItemNode item, SuccessorKind kind) { |
Check warning
Code scanning / CodeQL
Dead code Warning
| } | ||
|
|
||
| pragma[nomagic] | ||
| private predicate testuseImportEdge(Use use, SuccessorKind kind, UseTree tree, ItemNode used) { |
Check warning
Code scanning / CodeQL
Dead code Warning
No description provided.